package com.t.bricks.bussiness.db.entity.paperexamanswer.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 考卷内具体题目答案'PaperExamAnswer'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 * @author HuangXinBian
 * @DateTime 2021年12月13日 16:12:11
 */
@ApiModel("考卷内具体题目答案PaperExamAnswer")
@DataInfo(sDbName="BricksAppraise", sTableName="PaperExamAnswer")
public class PaperExamAnswerBase implements Serializable {

	private static final long serialVersionUID = 1L;// 使用rmi时需修改

	/**
	 * 记录编号
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="sId", sComment="记录编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=17, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="记录编号", example="")
	//[end]
	protected String sId;

	/**
	 * 考卷编号(关联表,PaperExamClass.sId)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="sPaperExamId", sComment="考卷编号(关联表,PaperExamClass.sId)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="考卷编号(关联表,PaperExamClass.sId)", example="")
	//[end]
	protected String sPaperExamId;

	/**
	 * 考卷题目类型(关联表,PaperExamClass.sId)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="sPaperExamClassId", sComment="考卷题目类型(关联表,PaperExamClass.sId)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=11, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="考卷题目类型(关联表,PaperExamClass.sId)", example="")
	//[end]
	protected String sPaperExamClassId;

	/**
	 * 考卷内考题编号(关联表,PaperExamTopic.sId)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="sPaperExamTopicId", sComment="考卷内考题编号(关联表,PaperExamTopic.sId)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=14, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="考卷内考题编号(关联表,PaperExamTopic.sId)", example="")
	//[end]
	protected String sPaperExamTopicId;

	/**
	 * 是否错误答案(布尔值,1:是;2:否)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="iError", sComment="是否错误答案(布尔值,1:是;2:否)", isDbField=true, sDbFileType="int",
		sDefaultData="2", isExtra=false, iskey=false, isNull=false,
		iMaxLength=1, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="是否错误答案(布尔值,1:是;2:否)", example="2")
	//[end]
	protected Integer iError;

	/**
	 * 答案
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="sAnswer", sComment="答案", isDbField=true, sDbFileType="longtext",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=100, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="答案", example="")
	//[end]
	protected String sAnswer;

	/**
	 * 附件名称(逗号分割)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="sFileNames", sComment="附件名称(逗号分割)", isDbField=true, sDbFileType="longtext",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=100, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=6 )
	@ApiModelProperty(value="附件名称(逗号分割)", example="")
	//[end]
	protected String sFileNames;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="sMemo", sComment="备注", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=7 )
	@ApiModelProperty(value="备注", example="")
	//[end]
	protected String sMemo;

	/**
	 * 创建者
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="sCreator", sComment="创建者", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="创建者", example="")
	//[end]
	protected String sCreator;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="dCreateDate", sComment="创建时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=9 )
	@ApiModelProperty(value="创建时间", example="")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="sModifieder", sComment="修改人", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=10 )
	@ApiModelProperty(value="修改人", example="")
	//[end]
	protected String sModifieder;

	/**
	 * 修改时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="dModifiedDate", sComment="修改时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=11 )
	@ApiModelProperty(value="修改时间", example="")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="iState", sComment="状态", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=1, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=12 )
	@ApiModelProperty(value="状态", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=13 )
	@ApiModelProperty(value="序号", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本号
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="PaperExamAnswer",
		sName="iVersion", sComment="版本号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=14 )
	@ApiModelProperty(value="版本号", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 记录编号
	 * @return String
	 */
	public String getsId() {
		return sId;
	}

	/**
	 * 设置记录编号
	 * @param sId
	 */
	public void setsId(String sId) {
		this.sId = sId;
	}

	/**
	 * 取 考卷编号(关联表,PaperExamClass.sId)
	 * @return String
	 */
	public String getsPaperExamId() {
		return sPaperExamId;
	}

	/**
	 * 设置考卷编号(关联表,PaperExamClass.sId)
	 * @param sPaperExamId
	 */
	public void setsPaperExamId(String sPaperExamId) {
		this.sPaperExamId = sPaperExamId;
	}

	/**
	 * 取 考卷题目类型(关联表,PaperExamClass.sId)
	 * @return String
	 */
	public String getsPaperExamClassId() {
		return sPaperExamClassId;
	}

	/**
	 * 设置考卷题目类型(关联表,PaperExamClass.sId)
	 * @param sPaperExamClassId
	 */
	public void setsPaperExamClassId(String sPaperExamClassId) {
		this.sPaperExamClassId = sPaperExamClassId;
	}

	/**
	 * 取 考卷内考题编号(关联表,PaperExamTopic.sId)
	 * @return String
	 */
	public String getsPaperExamTopicId() {
		return sPaperExamTopicId;
	}

	/**
	 * 设置考卷内考题编号(关联表,PaperExamTopic.sId)
	 * @param sPaperExamTopicId
	 */
	public void setsPaperExamTopicId(String sPaperExamTopicId) {
		this.sPaperExamTopicId = sPaperExamTopicId;
	}

	/**
	 * 取 是否错误答案(布尔值,1:是;2:否)
	 * @return Integer
	 */
	public Integer getiError() {
		return iError;
	}

	/**
	 * 设置是否错误答案(布尔值,1:是;2:否)
	 * @param iError
	 */
	public void setiError(Integer iError) {
		this.iError = iError;
	}

	/**
	 * 取 答案
	 * @return String
	 */
	public String getsAnswer() {
		return sAnswer;
	}

	/**
	 * 设置答案
	 * @param sAnswer
	 */
	public void setsAnswer(String sAnswer) {
		this.sAnswer = sAnswer;
	}

	/**
	 * 取 附件名称(逗号分割)
	 * @return String
	 */
	public String getsFileNames() {
		return sFileNames;
	}

	/**
	 * 设置附件名称(逗号分割)
	 * @param sFileNames
	 */
	public void setsFileNames(String sFileNames) {
		this.sFileNames = sFileNames;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建者
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建者
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建时间
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建时间
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改时间
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改时间
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本号
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本号
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
